Why is the server so slow? CPU, RAM, and disk I/O resources are exhausted, and ram is used up
Machine running is slow because it consumes too many system-specific resources. The main resources of the system include CPU, RAM, disk I/O, and network.
Note: This content is excerpted from the "DevOps Troubleshooting: Best Practices for Linux server Operations" book
System load
The average system load is probably the first basic metric to use when solving problems that cause the
1. Purpose and significanceThis is the optimization of the evaluation method.The importance of RAM as the place where all content is loaded when the hand is running is self-evident.Knowing the amount of RAM left on the phone after it is turned on
Share a daily use of the monitoring network, disk usage, average load and ram used by shell scriptsThe script is in the attachment.Use the following:650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/73/59/wKiom1X6neKQsS7LAAQKmVx2JC8032.jpg "
Requirements: Use the free command to accurately monitor RAM utilizationKnowledge: GREP,FREE,AWK,BCThe script is as follows[[email protected] scripts]# cat mem.sh #!/bin/bash-# free-m represents output in m units, and if the memory is large enough,
Linux memory Cleanup/release commandsYou could find reference from here:Http://jingyan.baidu.com/article/597a06436a687f312b5243f3.htmlBasically it looks like this:----------------------------------Memory usage before cleanup Free –m OrFreeClean up
File System of embedded devices
The system needs a method for storing and retrieving information in a structured format, which requires the participation of the file system. Ramdisk (see references) is a mechanism for creating and mounting a file
Introduction in Linux, there is a special feature-initializing the memory disk initrd (initial RAM disk) technology, and the kernel supports compressed file system images. With these two features, we can enable Linux to initialize memory disks from
Memory UsageOn Linux, there is commands for almost everything, because the GUI might is always available. When working on servers only the shell access is available and everything have to be do from these commands. So today we shall is checking the
I and Linux-general Linux technology-Linux technology and application information. The following is a detailed description. Translation: linky_fan @ www.linuxfans.org
Making the distribution, Part 1
Birth of the Gentoo Linux
Me and Linux
Nowadays,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.